//  定义项目中的静态变量 ，全局唯一
export const COMMON_STATE = Symbol('redux-data');

export const MENU_ROLE = {
  'PROJECT-01-01': 'R',
  'PROJECT-01-02': 'C',
  'PURCHASE-01-01': 'R',
  'PURCHASE-01-02': 'C',
  'RECEIVING-01-01': 'R',
  'RECEIVING-01-02': 'C',
  'SYSTEM-01-01': 'R',
  'SYSTEM-01-02': 'C',
  'SYSTEM-01-04': 'R',
  'SYSTEM-01-05': 'R',
  'SYSTEM-01-06': 'R',
};

export const MENU_ICONS = {
  'HOME-01': { icon: '&#xe75d;' },
  'PROJECT-01': { icon: '&#xe6b5;' },
  'PURCHASE-01': { icon: '&#xe79d;' },
  'RECEIVING-01': { icon: '&#xe798;' },
  'SYSTEM-01': { icon: '&#xe78d;' },
};

export const USER_INFO = {
  id: '',
  name: '',
  password: '',
  photo: '',
  sex: '',
  address: '',
  birthday: '',
  dept: '',
  duties: '',
  phone: '',
  email: '',
  role: '',
  mark: '',
};
